countstream Class Reference
[MCCore]

Inheritance diagram for countstream:

TMCiostream TMCObject List of all members.

Public Member Functions

 countstream ()
 ~countstream ()
int32 count ()
virtual int32 tell ()
virtual void seek (int32 off, seek_dir dir=beg)
virtual void putback (int8 c)
 can only be used on (some) input streams
virtual void read (int8 *s, int32 n)
virtual void write (const int8 *s, int32 n)

Protected Attributes

int32 fCount
int32 fPos

Detailed Description

Counts how many characters would be written in a stream. putback() and read() are not implemented


Constructor & Destructor Documentation

countstream::countstream (   ) 
 

countstream::~countstream (   ) 
 


Member Function Documentation

int32 countstream::count (   ) 
 

virtual void countstream::putback (  int8  c  )  [virtual]
 

can only be used on (some) input streams

Implements TMCiostream.

virtual void countstream::read (  int8 *  s,
int32  n
)  [virtual]
 

Implements TMCiostream.

virtual void countstream::seek (  int32  off,
seek_dir  dir = beg
)  [virtual]
 

virtual int32 countstream::tell (   )  [virtual]
 

Implements TMCiostream.

virtual void countstream::write (  const int8 *  s,
int32  n
)  [virtual]
 

Implements TMCiostream.


Member Data Documentation

int32 countstream::fCount [protected]
 

int32 countstream::fPos [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Dec 7 14:27:30 2005 for Carrara SDK Doc by  doxygen 1.4.5